set(target lzm_lwipnetif_linux)

add_library(${target} STATIC)
target_link_libraries(${target} PUBLIC lzm_log)

# lzm_lwipnetif_linux
# target_include_directories(${target} PUBLIC ${LWIP_INC_PUB})
target_include_directories(${target} PUBLIC     include
                                                ${LWIP_PORT_INC_PUB}
                                                ${LWIP_CORE_DIR}/src/include)

set(netif_linux_src
        ./fifo.c
        ./list.c
        ./pcapif.c
        ./sio.c
        ./tapif.c
)

target_sources(${target} PRIVATE
        ${netif_linux_src}
)